package com.example.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.utils.PageUtils;
import com.example.gulimall.product.entity.BrandEntity;
import com.example.gulimall.product.entity.CategoryBrandRelationEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author lizhichao
 * @email sunlightcs@gmail.com
 * @date 2021-08-15 16:09:01
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);
    void saveDetail(CategoryBrandRelationEntity categoryBrandRelationEntity);


    void updateBrand(Long brandId, String name);

    void updateCategory( Long catId,  String name);

    List<BrandEntity> getBrandByCatId(Long catId);
}

